<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>教师综合信息查询系统-修改角色</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/font-awesome.min.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/css/common.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/css/roleManagement.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/css/zTreeStyle.css}">
    <script type="text/javascript" th:src="@{/js/lib/jquery.min.js}"></script>
    <script type="text/javascript" th:src="@{/js/lib/jquery.ztree.all.min.js}"></script>
    <script type="text/javascript" th:src="@{/js/modifyRole.js}"></script>
</head>
<body>
<div class="container-screen">
    <input type="hidden" id="eid" th:value="${eid}"/>
    <div class="role-list">
        <div class="current">
            <a class="role-item" th:href="@{/roleList}">首页</a>/<a class="role-item modify-role" href="roleConfigure.html">用户角色配置</a>/<span class="role-item">修改角色</span>
        </div>
        <div class="modify-box">
            <div class="modify-list clearfix">
                <div class="modify-left fl">
                    角色：
                </div>
                <div class="modify-right fl">
                    <div class="modify-node">

                        <span class="role-option" th:each="role,iterStat:${roles}" th:inline="text"><input class="options" type="radio" name="role" th:checked="${role.checked}" th:value="${role.roleId}">[[${role.roleName}]]</span>
                    </div>
                    <div class="modify-btn">
                        <button class="submit-btn">提交</button><button class="cancel" onclick="cancel()">取消</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>